package com.jld.managerialsystemforcovid19.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jld.managerialsystemforcovid19.entity.User;
import com.jld.managerialsystemforcovid19.service.UserService;
import com.jld.managerialsystemforcovid19.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author 贾老丁
 * @description 针对表【user】的数据库操作Service实现
 * @createDate 2022-11-24 16:13:24
 */
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements UserService {
    @Autowired
    private UserMapper userMapper;
    @Override
    public User login(String username, String password) {
        return userMapper.login(username,password);
    }
}




